package com.derive.education_service.web.wechat.service;

import com.derive.education_service.entity.User;

import java.util.Map;

/**
 * 微信_小程序_登录校验操作接口
 */
public interface WxApiService {
    /*获取微信openId*/ 
    Map<String, String> getWxOpenId(String code);

    /*获取 access_token (需要解决两小时期限问题)*/
    Map<String,String> getAccessToken();

    /*校验用户状态*/
    User checkUser(String openId);
}
